using NetDh.Presentation.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace NetDh.WebApiAndMvc.Sample.Controllers
{
    /*此类已无用，改为静态页展示(在BadHttp目录中)。test */

    //[MvcActionFilter(AllowAnonymous = true)]
    //public class BadController : BaseMvcController
    //{
    //    /// <summary>
    //    /// Url地址找不到
    //    /// </summary>
    //    /// <returns></returns>
    //    public ActionResult Http404()
    //    {
    //        Response.StatusCode = (int)System.Net.HttpStatusCode.NotFound;
    //        return View();
    //    }
    //    /// <summary>
    //    /// 无权访问
    //    /// </summary>
    //    /// <returns></returns>
    //    public ActionResult Http401()
    //    {
    //        Response.StatusCode = (int)System.Net.HttpStatusCode.Unauthorized;
    //        return View();
    //    }
    //    /// <summary>
    //    /// 请求错误
    //    /// </summary>
    //    /// <returns></returns>
    //    public ActionResult Error()
    //    {
    //        Response.StatusCode = (int)System.Net.HttpStatusCode.InternalServerError;
    //        return View();
    //    }
    //}
}